﻿using Zhp.Model.Design;

namespace Zhp.IService.Design
{
    public interface IDesignFormService
    {
        Task<List<DesignFormModel>> Query(DesignFormQuery p);
        Task<bool> Create(DesignFormEdit p);
        Task<bool> Update(DesignFormEdit p);
        Task<bool> Delete(long id);
        Task<DesignFormEdit> Details(long id);
        Task<List<DesignFormSelect>> Select();
        Task<List<DesignFormFieldSelect>> QueryFieldSelect(long formId);
        Task<List<DesignFormField>> QueryFormFieldConfig(long formId);
        Task<List<DesignFormField>> GetFormField(string formItemList);
    }
}
